package com.wish.g04.base.service;

import com.wish.g04.base.dto.RoomInfoDTO;
import com.wish.g04.base.entity.RoomInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wish.g04.base.vo.IdNamePair;
import com.wish.g04.base.vo.RoomInfoResponseVO;
import com.wish.g04.base.vo.RoomInfoVO;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 薛凯
 * @since 2022-05-23
 */
public interface IRoomInfoService extends IService<RoomInfo> {


    List<RoomInfoVO> selectRoomInfoList(RoomInfoDTO roomInfoDTO);

    /**
     * 查询房态（分散式）
     * @param roomInfoDTO
     * @return
     */
    List<RoomInfoVO> getList(RoomInfoDTO roomInfoDTO);

    /**
     * 查询房态（集中式）
     * @param roomInfoDTO
     * @return
     */
    List<RoomInfoVO> getJzList(RoomInfoDTO roomInfoDTO);

    /**
     * 详情
     * @param roomInfoDTO
     * @return
     */
    List<RoomInfoVO> findPageListDetailByJz(RoomInfoDTO roomInfoDTO);

    /**
     * 获取条数
     * @return
     */
    int queryRoomInfoTotal();

    /**
     * 获取房源
     * @param map
     * @return
     */
    List<RoomInfoResponseVO> queryRoomInfoList(HashMap<String, Object> map);

    /**
     *
     * @param parseInt
     * @return
     */
    IdNamePair<Integer, String> getSubWayByIdList(Integer parseInt);

    /**
     *
     * @param businessCircle
     * @return
     */
    IdNamePair<Integer, String> getBusinessCircleByIdList(String businessCircle);
}
